﻿using System;

namespace ebcpatterns.flow
{
    public interface ISplit<TInput, TOutput1, TOutput2>
    {
        void Input(TInput message);

        event Action<TOutput1> Output1;

        event Action<TOutput2> Output2;
    }

    public interface ISplit
    {
        void Input();

        event Action Output1;

        event Action Output2;
    }
}